package com.yy.bolg.service;

import com.yy.bolg.entity.AccessoryBean;
import java.util.List;

/**
 * 附件Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2024-11-04
 */
public interface AccessoryService {

    void add(AccessoryBean bean) throws Exception;

    void delAccessory(AccessoryBean bean) throws Exception;

    void delAccessoryClass(AccessoryBean bean) throws Exception;

    List<AccessoryBean> findAll() throws Exception;

    AccessoryBean findOneByAccessoryCode(AccessoryBean bean) throws Exception;

    List<AccessoryBean> findOneByAccessoryClassCode(AccessoryBean bean) throws Exception;

}
